

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  <meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>安装（手动） &mdash; Ceph Documentation</title>
  

  
  <link rel="stylesheet" href="../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/graphviz.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/css/custom.css" type="text/css" />

  
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/jquery.js"></script>
        <script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
        <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/doctools.js"></script>
        <script src="../../_static/sphinx_highlight.js"></script>
    
    <script type="text/javascript" src="../../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../../genindex/" />
    <link rel="search" title="Search" href="../../search/" />
    <link rel="next" title="获取二进制包" href="../get-packages/" />
    <link rel="prev" title="安装 Ceph" href="../" /> 
</head>

<body class="wy-body-for-nav">

   
  <header class="top-bar">
    <div role="navigation" aria-label="Page navigation">
  <ul class="wy-breadcrumbs">
      <li><a href="../../" class="icon icon-home" aria-label="Home"></a></li>
          <li class="breadcrumb-item"><a href="../">安装 Ceph</a></li>
      <li class="breadcrumb-item active">安装（手动）</li>
      <li class="wy-breadcrumbs-aside">
            <a href="../../_sources/install/index_manual.rst.txt" rel="nofollow"> View page source</a>
      </li>
  </ul>
  <hr/>
</div>
  </header>
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search"  style="background: #eee" >
          

          
            <a href="../../" class="icon icon-home"> Ceph
          

          
          </a>

          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search/" method="get">
    <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../start/">Ceph 简介</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../">安装 Ceph</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../#id1">建议的方法</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../#id2">其他方法</a><ul class="current">
<li class="toctree-l3 current"><a class="current reference internal" href="#">安装（手动）</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#id2">获取软件</a></li>
<li class="toctree-l4"><a class="reference internal" href="#id3">安装软件</a></li>
<li class="toctree-l4"><a class="reference internal" href="#id4">手动部署一套集群</a></li>
<li class="toctree-l4"><a class="reference internal" href="#id5">升级软件</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../#windows">Windows</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../cephadm/">Cephadm</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rados/">Ceph 存储集群</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../cephfs/">Ceph 文件系统</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rbd/">Ceph 块设备</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../radosgw/">Ceph 对象网关</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/">Ceph 管理器守护进程</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/dashboard/">Ceph 仪表盘</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../monitoring/">监控概览</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../api/">API 文档</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../architecture/">体系结构</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev/developer_guide/">开发者指南</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev/internals/">Ceph 内幕</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../governance/">项目管理</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../foundation/">Ceph 基金会</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../ceph-volume/">ceph-volume</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/general/">Ceph 版本（总目录）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/">Ceph 版本（索引）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../security/">Security</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../hardware-monitoring/">硬件监控</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../glossary/">Ceph 术语</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../jaegertracing/">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../translation_cn/">中文版翻译资源</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../">Ceph</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
<div id="dev-warning" class="admonition note">
  <p class="first admonition-title">Notice</p>
  <p class="last">This document is for a development version of Ceph.</p>
</div>
  <div id="docubetter" align="right" style="padding: 5px; font-weight: bold;">
    <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
  </div>

  
  <section id="install-manual">
<span id="id1"></span><h1>安装（手动）<a class="headerlink" href="#install-manual" title="Permalink to this heading"></a></h1>
<section id="id2">
<h2>获取软件<a class="headerlink" href="#id2" title="Permalink to this heading"></a></h2>
<p>获取 Ceph 软件的方法有多种，最简单、通用的<a class="reference external" href="../get-packages">获取软件包</a>方法是添加软件源之后通过包管理工具（像 APT 、 YUM ）操作；也可以直接从 Ceph 仓库下载预编译软件包；最后，你可以下载源码包或克隆 Ceph 源码库、并自行编译。</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../get-packages/"> 获取软件包</a></li>
<li class="toctree-l1"><a class="reference internal" href="../get-tarballs/"> 获取源码包</a></li>
<li class="toctree-l1"><a class="reference internal" href="../clone-source/"> 克隆源码库</a></li>
<li class="toctree-l1"><a class="reference internal" href="../build-ceph/"> 构建 Ceph</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mirrors/"> Ceph 镜像</a></li>
<li class="toctree-l1"><a class="reference internal" href="../containers/"> Ceph 容器</a></li>
</ul>
</div>
</section>
<section id="id3">
<h2>安装软件<a class="headerlink" href="#id3" title="Permalink to this heading"></a></h2>
<p>获取到 Ceph 软件包之后（或者加过软件库），安装很简单。要在集群内的各<a class="reference internal" href="../../glossary/#term-15"><span class="xref std std-term">Ceph 节点</span></a>安装，你可以用包管理工具。如果你想安装 Ceph 对象网关或 QEMU ，那么对于 RHEL/CentOS 以及其它使用 <code class="docutils literal notranslate"><span class="pre">yum</span></code> 的发行版，你应该安装 Yum Priorities
（以支持仓库优先级功能）。</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../install-storage-cluster/"> 安装 Ceph 存储集群</a></li>
<li class="toctree-l1"><a class="reference internal" href="../install-vm-cloud/"> 为块设备安装虚拟化支持</a></li>
</ul>
</div>
</section>
<section id="id4">
<h2>手动部署一套集群<a class="headerlink" href="#id4" title="Permalink to this heading"></a></h2>
<p>把 Ceph 安装到各节点后，你就可以手动部署集群了。手动过程主要是让部署脚本（如 Chef、Juju、Puppet 等）的开发者们验证程序的。</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../manual-deployment/">手动部署</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../manual-deployment/#id2">监视器的自举引导</a></li>
<li class="toctree-l2"><a class="reference internal" href="../manual-deployment/#id3">管理器守护进程配置</a></li>
<li class="toctree-l2"><a class="reference internal" href="../manual-deployment/#osd">添加 OSD</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../manual-deployment/#id4">精简型</a></li>
<li class="toctree-l3"><a class="reference internal" href="../manual-deployment/#id5">细致型</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../manual-deployment/#mds">添加 MDS</a></li>
<li class="toctree-l2"><a class="reference internal" href="../manual-deployment/#manually-installing-radosgw">Manually Installing RADOSGW</a></li>
<li class="toctree-l2"><a class="reference internal" href="../manual-deployment/#id6">总结</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../manual-freebsd-deployment/">在 FreeBSD 上手动部署</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../manual-freebsd-deployment/#id1">FreeBSD 上的磁盘布局</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../manual-freebsd-deployment/#id2">配置文件</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../manual-freebsd-deployment/#id3">监视器自举启动</a></li>
<li class="toctree-l2"><a class="reference internal" href="../manual-freebsd-deployment/#osd">添加 OSD</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../manual-freebsd-deployment/#id4">详细步骤</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../manual-freebsd-deployment/#mds">添加 MDS</a></li>
<li class="toctree-l2"><a class="reference internal" href="../manual-freebsd-deployment/#id5">总结</a></li>
</ul>
</li>
</ul>
</div>
</section>
<section id="id5">
<h2>升级软件<a class="headerlink" href="#id5" title="Permalink to this heading"></a></h2>
<p>随着新版 Ceph 的发布，你也许想升级集群以使用新功能，升级集群前请参考升级文档。有时候，升级 Ceph 需要严格按照升级顺序进行。</p>
<div class="toctree-wrapper compound">
</div>
</section>
</section>



<div id="support-the-ceph-foundation" class="admonition note">
  <p class="first admonition-title">Brought to you by the Ceph Foundation</p>
  <p class="last">The Ceph Documentation is a community resource funded and hosted by the non-profit <a href="https://ceph.io/en/foundation/">Ceph Foundation</a>. If you would like to support this and our other efforts, please consider <a href="https://ceph.io/en/foundation/join/">joining now</a>.</p>
</div>


           </div>
           
          </div>
          <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
        <a href="../" class="btn btn-neutral float-left" title="安装 Ceph" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
        <a href="../get-packages/" class="btn btn-neutral float-right" title="获取二进制包" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>&#169; Copyright 2016, Ceph authors and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0).</p>
  </div>

   

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>